package item;

public class SalesReportItem {
	
	private String 	upc;
	private String 	category;
	private float	unitPrice;
	private int 	units;
	private float 	totalValue;	
		
	public SalesReportItem(String upc, String category, float unitPrice, int units)
	{
		this.upc = upc;
		this.category = category;
		this.unitPrice = unitPrice;
		this.units = units;
		this.totalValue = units * unitPrice;	
	}
	
	public int getUnits() {
		return units;
	}

	public float getTotalValue() {
		return totalValue;
	}

	public String getUpc() {
		return upc;
	}

	public String getCategory() {
		return category;
	}

	public float getUnitPrice() {
		return unitPrice;
	}	
}
